import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class DBJMinePage extends StatefulWidget {
  const DBJMinePage({Key? key}) : super(key: key);

  @override
  _DBJMinePageState createState() => _DBJMinePageState();
}

class _DBJMinePageState extends State<DBJMinePage> with AutomaticKeepAliveClientMixin {
  @override
  void initState() {
    // TODO: implement initState
    super.initState();
    print('_DBJMinePageState --- init');
  }

  @override
  Widget build(BuildContext context) {
    print('_DBJMinePageState --- build');
    return Scaffold(
      backgroundColor: Colors.green,
      body: Text('page 2'),
    );
  }

  @override
  // TODO: implement wantKeepAlive
  bool get wantKeepAlive => true;
}
